﻿
/*----------------------------------------------------------------
 * 创建时间：2023/8/11 17:15:55
 * 作  者：wenlli 
 * 项  目：Minotaur.App.Domains.ViewModel 
 * 描  述：
 *
 * ----------------------------------------------------------------
 * 修改人：
 * 时  间：
 * 修改说明：
 * 
 *----------------------------------------------------------------*/


using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Minotaur.App.Domains.ViewModel
{
    public class SearchViewModel : BindableBase
    {
        /// <summary>
        /// 每页条数
        /// </summary>
        private int pageSize = 20;

        /// <summary>
        /// 页码
        /// </summary>
        private int pageIndex = 1;


        /// <summary>
        /// 查询条件
        /// </summary>
        private string searchQuery = "";

        /// <summary>
        /// 每页条数
        /// </summary>
        public int PageSize { get => pageSize; set => SetProperty(ref pageSize, value); }

        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get => pageIndex; set => SetProperty(ref pageIndex, value); }

        /// <summary>
        /// 查询条件
        /// </summary>
        public string SearchQuery { get => searchQuery; set => SetProperty(ref searchQuery, value); }
    }
}
